package com.weipai.springboot.module.dao;

import com.weipai.springboot.model.MemberLevel;

import java.util.List;

/**
 * @Author: 曹朋飞
 * @Date: 2018/09/14 20:04
 */
public interface MemberLevelDao {
    List<MemberLevel> selectAllByDel(int del, String sort, String way);

    int insert(MemberLevel memberLevel);

    int updateByPrimaryKey(MemberLevel memberLevel);

    MemberLevel getMemberLevelById(String id);

    int updateDel(String id);

    int updateStatus(String id, Integer status);

    int batchDeleteById(String[] id);
}
